package com.wzcl.app.dao.repository;

import com.wzcl.app.dao.model.OrderDetail;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface OrderDetailRepository extends JpaRepository<OrderDetail,Integer>, JpaSpecificationExecutor<OrderDetail> {
    // 通过订单id查询详情
    OrderDetail findAllById(Integer ordersDetailsId);
}
